package com.sui.bigdata.sml.web.dto;

import com.alibaba.fastjson.JSON;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author songhaicheng
 * @date 2020/5/12 14:12
 * @description
 * @reviewer
 */
@Data
@Accessors(chain = true)
public class ModelGroupInfoDTO {

    private Long id;
    private String token;
    private String name;
    private String description;
    private List<ModelDTO> models;
    private Long userId;
    private Boolean active;
    private String createTime;
    private String updateTime;
    /**
     * 对外暴露的服务 url
     */
    private String url;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

}
